<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
	<head>
		<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" media="screen" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<jsp:include page="title.jsp"></jsp:include>
		<script type="text/javascript" src="js/base/jquery.js"></script>
		<script type="text/javascript" src="js/brandSelect.js"></script>
	</head>
	<body onload="divLoad()">
		<jsp:include page="head.jsp"></jsp:include>
		<div class="zhuti">
			<div class="jingediv"></div>
			<div class="lefterdiv">
				<jsp:include page="menu.jsp"></jsp:include>
			</div>
			<div class="jingediv"></div>
			<div class="righterdiv" id="right">
				<div class="sitebar">
					<div class="floatleft div25"></div>
					<div class="sitename font14 top26">
						${pageHead}
					</div>
					<div class="date font14 top26">
						<script type="text/javascript">
								var date=new Date();
								document.write(date.getFullYear()+"-"+(date.getMonth()+1)+"-"+date.getDate());
								if(date.getHours()<12){
									document.write("上午");
								}else
								{
									document.write("下午");
								}
						</script>
					</div>
				</div>
				<!-- 点击更换广场提交form -->
				<form action="changeSquLoad" id="squareChangeForm" method="post">
					<!-- 广场数据类型：0，用户广场权限；1，根据店铺反查的广场权限 -->
					<input type="hidden" value="0" id="cs_gcDataType"
						name="changeGcParam.gcDataType">
					<!-- 要选择的类型：0，单选；1，多选 -->
					<input type="hidden" value="1" name="changeGcParam.selectType">
					<!-- 已经选择的广场id字符串 -->
					<input type="hidden" id="cs_gcString" name="changeGcParam.gcString">
					<!-- 已经选择的其他场所字符串 -->
					<input type="hidden" id="cs_siteString"
						name="changeGcParam.siteString">
					<!-- 从报表页面传过来的对象参数 -->
					<input type="hidden" name="changeGcParam.bb_selectType"
						value="${siteSelectParam.selectType}">
					<input type="hidden" name="changeGcParam.bb_pageFrom"
						value="${siteSelectParam.pageFrom}">
					<input type="hidden" name="changeGcParam.bb_controlTo"
						value="${siteSelectParam.controlTo}">
					<input type="hidden" name="changeGcParam.bb_gcSiteId"
						value="${siteSelectParam.gcSiteId}">
					<input type="hidden" name="changeGcParam.bb_qySiteId"
						value="${siteSelectParam.qySiteId}">
					<input type="hidden" name="changeGcParam.bb_lcSiteId"
						value="${siteSelectParam.lcSiteId}">
					<input type="hidden" name="changeGcParam.bb_dpSiteId"
						value="${siteSelectParam.dpSiteId}">
					<input type="hidden" name="changeGcParam.bb_saveParam"
						value="${siteSelectParam.saveParam}">
					<input type="hidden" name="changeGcParam.bb_siteString"
						value="${siteSelectParam.siteString}">
					<!-- 要返回的页面地址 -->
					<input type="hidden" value="brandSelectLoad"
						name="changeGcParam.backPage" />
				</form>
				<!-- 选择类型 -->
				<input id="selectType" value="1" type="hidden">
				<!-- 点击品牌 -->
				<form action="ajaxSearchPp">
					<input type="hidden" id="gcSiteId">
					<input type="hidden" id="zimuId">
					<input type="hidden" id="ppInput">
				</form>
				<div class="widthall">
					<div class="title">
						<div class="floatleft div25"></div>
						<div class="titlename bold font24 top26">
							品牌选择
						</div>
						<!-- 点击确定返回 -->
						<form action="${siteSelectParam.controlTo}" id="returnForm"
							method="post">
							<input type="hidden" id="selectedSiteString"
								value="${siteSelectParam.siteString}">
							<input type="hidden" id="returnSiteString" name="siteId">
							<input type="hidden" id="returnControlAddress"
								value="${siteSelectParam.controlTo}">
						</form>
					</div>
					<div class="whitediv">
						<div class="floatleft div25 defaultheight"></div>
						<div class="floatleft sxpp">
							<div class="widthall liubai"></div>
							<div class="widthall em30">
								<div class="floatleft sskw935 defaultheight"></div>
								<div class="floatleft sskw65">
									<div class="sxk font16" onclick="shaixuan()">
										<div class="floatleft noselect sskcontent">
											筛选
										</div>
										<img id="sxkimg" class="sxkimg floatleft"
											src="images/sx01.png" />
										<div class="floatleft sxkLiubai"></div>
										<div class="cleardiv"></div>
									</div>
								</div>
							</div>
							<div id="sxdiv" class="widthall font16">
								<div class="widthall em30">
									<div class="floatleft sxtiaojian">
										范围 |
									</div>
									<div class="floatleft div25 defaultheight"></div>
									<div class="floatleft div25 defaultheight"></div>
									<div class="floatleft sxxiang1 saixuanqu">
										<c:forEach items="${mulSiteCondition.dp_gcList}" var="siteAllInfo">
											<div class="floatleft">
												<input id="dpGcFw${siteAllInfo.siteid}" type="hidden"
													value="${siteAllInfo.siteid}">
												${siteAllInfo.sitename}
											</div>
											<div class="floatleft div25 defaultheight"></div>
										</c:forEach>
										<div class="floatleft">
											<a href="javascript:changeFanwei()" class="orange">更改</a>
										</div>
									</div>
									<div class="floatleft ssarealiubai"></div>
								</div>
								<div class="cleardiv"></div>
								<div class="widthall em30">
									<div class="floatleft sxtiaojian" style="">
										品牌 |
									</div>
									<div class="floatleft div25 defaultheight"></div>
									<div class="floatleft div25 defaultheight"></div>
									<div class="floatleft sxxiang">
										<a class="sxxiangaselect" href="javascript:zimuClikc('-1')">不限</a>&nbsp;
										<a href="javascript:zimuClikc('a')">A</a>&nbsp;
										<a href="javascript:zimuClikc('b')">B</a>&nbsp;
										<a href="javascript:zimuClikc('c')">C</a>&nbsp;
										<a href="javascript:zimuClikc('d')">D</a>&nbsp;
										<a href="javascript:zimuClikc('e')">E</a>&nbsp;
										<a href="javascript:zimuClikc('f')">F</a>&nbsp;
										<a href="javascript:zimuClikc('g')">G</a>&nbsp;
										<a href="javascript:zimuClikc('h')">H</a>&nbsp;
										<a href="javascript:zimuClikc('i')">I</a>&nbsp;
										<a href="javascript:zimuClikc('j')">J</a>&nbsp;
										<a href="javascript:zimuClikc('k')">K</a>&nbsp;
										<a href="javascript:zimuClikc('l')">L</a>&nbsp;
										<a href="javascript:zimuClikc('m')">M</a>&nbsp;
										<a href="javascript:zimuClikc('n')">N</a>&nbsp;
										<a href="javascript:zimuClikc('o')">O</a>&nbsp;
										<a href="javascript:zimuClikc('p')">P</a>&nbsp;
										<a href="javascript:zimuClikc('q')">Q</a>&nbsp;
										<a href="javascript:zimuClikc('r')">R</a>&nbsp;
										<a href="javascript:zimuClikc('s')">S</a>&nbsp;
										<a href="javascript:zimuClikc('t')">T</a>&nbsp;
										<a href="javascript:zimuClikc('u')">U</a>&nbsp;
										<a href="javascript:zimuClikc('v')">V</a>&nbsp;
										<a href="javascript:zimuClikc('w')">W</a>&nbsp;
										<a href="javascript:zimuClikc('x')">X</a>&nbsp;
										<a href="javascript:zimuClikc('y')">Y</a>&nbsp;
										<a href="javascript:zimuClikc('z')">Z</a>&nbsp;
										<a href="javascript:zimuClikc('0')">其他</a>
									</div>
									<div class="floatleft ssarea">
										<div class="searchdiv floatleft">
											<div class="floatleft width5per defaultheight"></div>
											<input type="text" id="ppSiteName" class="ssk"
												onkeyup="showx()" />
											<div class="ssbtn" id="imgx" onclick="resetSearch()">
												<img class="imgx" src="images/x.png" onclick="clearssk()" />
											</div>
										</div>
										<div class="sskw3 floatleft heigthall"></div>
										<div class="floatleft ssbtnover searchbtn noselect" id="divsearch"
											onclick="searchDp()">
											<div>
												搜索
											</div>
										</div>
										<div style="clear: both">
										</div>
									</div>
									<div class="floatleft ssarealiubai"></div>
								</div>

							</div>
							<div class="widthall liubai"></div>
						</div>
						<div class="floatleft div25 defaultheight"></div>
						<div class="cleardiv"></div>
					</div>
					<div class="widthall szjiange"></div>
					<div class="whitediv font16 xzdiv">
						<div class="widthall em30"></div>
						<div class="widthall xzcontentheight">
							<div class="floatleft defaultheight xzdivliubai"></div>
							<div id="dpResult"
								class="floatleft scrollbar noselect xzdivvcontent">
								<c:forEach items="${mulSiteCondition.dp_ppList}"
									var="siteAllInfo">
									<div class="floatleft szqy" id="brand-${siteAllInfo.id}"
										rel="${siteAllInfo.area}">
										<div title="${siteAllInfo.sitename}" id="${siteAllInfo.id}"
											onclick="newCheckboxClick('${siteAllInfo.id}','yixuanzeDiv')"
											class="floatleft checkbox">
											<div class="szjuzhong">
												${siteAllInfo.sitename}
											</div>
										</div>
									</div>
								</c:forEach>
							</div>
							<div class="floatleft defaultheight xzdivliubairight"></div>
						</div>
					</div>
					<div class="widthall szjiange"></div>
					<div class="whitediv font16 yxheight">
						<div class="floatleft div25 defaultheight"></div>
						<div class="floatleft yxcontent">
							<div class="widthall yxcontentliubai"></div>
							<div class="widthall noselect em50" style="">
								<div class="floatleft yixuan">
									已选 |&nbsp;
								</div>
								<div class="floatleft yixuancontent" id="yixuanzeDiv">
								</div>
								<div class="floatleft yixuanliubai">
								</div>
							</div>
							<div class="widthall em50">
								<div class="floatleft heigthall qdliubai"></div>
								<div class="floatleft heigthall qdcontent">
									<div class="floatleft qdbtnover qdbtn noselect" onclick="quxiao()">
										<div class="qdjuzhong">
											取消
										</div>
									</div>
									<div class="floatleft heigthall qdjiange"></div>
									<div class="floatleft qdbtnover qdbtn noselect" onclick="queding()">
										<div class="qdjuzhong">
											确定
										</div>
									</div>
								</div>
								<div class="floatleft heigthall qdliubairight"></div>
							</div>
							<div class="widthall yxcontentliubai"></div>
						</div>
						<div class="floatleft div25 defaultheight"></div>
						<div style="clear: both">
						</div>
					</div>
				</div>
				<div class="floatleft" style="width: 5%; height: 10px;"></div>
			</div>
		</div>
		<div class="cleardiv"></div>
		<jsp:include page="footer.jsp"></jsp:include>
	</body>
</html>